package com.example.designPattern.bridge;

public class Client {
    public static void main(String[] args) {
        Phone phone = new FoldedPhone(new XiaoMi());
        phone.call();
        phone.open();
        phone.close();

        System.out.println("-----------------");

        Phone phone1= new FoldedPhone(new Vivo());
        phone1.call();
        phone1.open();
        phone1.close();
    }
}
